<%template _header%>
<%namespace YouHP.Model%>

<div class="box">

            <div class="caption">
					病友高级搜索
			</div>

<div id="search" align ="center" class="content">
	 
	<form id ="searchform" name ="searchform" method ="get" action ="PatientList.aspx">
	<table width="500" class="table-box">
	<tr valign="top">
	<td><label>疾病信息</label></td>
	<td>
		<div id="disease">
			<table><tr><td>
			疾病：<select id="s-disease" name ="dszid">
				<option value="0" >不限</option>
				<%csharp%>
				   foreach(DiseaseInfo info in mDiseaseLst)
				   {
				<%/csharp%>
				      <option value="{info.Id}">{info.Name}</option>
				<%csharp%>
				   }
				<%/csharp%>
			</select></td></tr><tr><td>
			症状：<select id="s-symptom" name ="symid">
				<option value="0" >不限</option>
				<%csharp%>
				   foreach(SymptomInfo info in mSymptomLst)
				   {
				<%/csharp%>
				      <option value="{info.Id}">{info.Name}</option>
				<%csharp%>
				   }
				<%/csharp%>
			</select></td></tr></table>
		</div>
	</td>	
	</tr>
	<tr valign="top">
		<td><label>用户信息</label></td>
		<td><div id="userinfo"><table><tr><td>
			用户名：<input type="text" id="username" length="16" name ="name"/> 
			</td></tr><tr><td>
			性别：<select id="s-startage" name ="gender">
				<option value="" >不限</option>
				<option value="男">男</option>
				<option value="女">女</option>
			</select></td></tr><tr><td>
			年龄段：<select id="s-startage" name ="agefrom">
				    <option value="0" >不限</option>
				    <option value="10">10</option>
						<option value="20">20</option>
						<option value="30">30</option>
						<option value="40">40</option>
						<option value="50">50</option>
						<option value="60">60</option>
						<option value="70">70</option>
						<option value="80">80</option>
				</select>&nbsp;&nbsp;到&nbsp;&nbsp;<select id="s-endage" name ="ageto">
					<option value="0" >不限</option>
				  <option value="10">10</option>
					<option value="20">20</option>
					<option value="30">30</option>
						<option value="40">40</option>
						<option value="50">50</option>
						<option value="60">60</option>
						<option value="70">70</option>
						<option value="80">80</option>
						<option value="80">90</option>
				</select></td></tr><tr><td>
			     地区: 
                    省份
                    <select name="province" id="province"  onchange="if(this.value !='') setCity(this.options[this.selectedIndex].value)">
                 
                    <option value="">-不限-</option>  

                    <%csharp%>
                    foreach(DistrictInfo Info in ProvinceList)
                    {
                    <%/csharp%>
                    <option value="{Info.Id}">{Info.Name}</option>     
                    <%csharp%>
                    }
                    <%/csharp%>
                    </select>
                    城市
                    <select name="city" id ="city">
                    <option value ="">-不限-</option>
                    </select>
                    </td></tr></table>
		</div>
		</td>
	</tr>
	<tr valign="top">
	<td>
		<label>治疗信息</label>
	</td>
	<td><table><tr><td>
		治疗：<input type=text id="s-symptom" name="trmname" /></td></tr></table>
	</td>
</tr>
</table>
</form>
<br />
<input type="button" value="提交" class="button1"  onclick ="_$('searchform').submit()" />&nbsp;&nbsp;
<input   type="button"   name="reset"   value="重置"  class="button1"   onClick="document.forms['searchform'].reset();">&nbsp;&nbsp;

<%csharp%>TempUrl="/PatientList.aspx";<%/csharp%>
<a href="{this.GetUrl(TempUrl)}">查看所有病友</a>
</div>
</div>	

<%template _footer%>